<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/layout.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix='c'%>
<c:if test="${empty sessionScope.tipoUsuario}">
	<c:redirect url="login.jsp"></c:redirect>
</c:if>

<!-- InstanceBeginEditable name="doctitle" -->
<title>Alterar Senha</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="rules.css" rel="stylesheet" type="text/css" />
<link href="links_text.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style3 {color: #0099FF}
-->
</style>
</head>

<body>
<div id="container" style="border-width: 5px; border-style: solid; border-color:#0099CC; background-color:#E8E8EA;">
  <div id="header"><img src="images/cabecalho.jpg" width="759" height="175" /></div>
  <div id="leftBar">
    <c:if test="${sessionScope.tipoUsuario == 'AnalistaSistema'}">
  		<c:import url="menuAnalista.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Medico'}">
  		<c:import url="menuMedico.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Enfermeiro'}">
  		<c:import url="menuEnfermeiro.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Paciente'}">
  		<c:import url="menuPaciente.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Farmaceutico'}">
  		<c:import url="menuFarmaceutico.jsp"></c:import>
  	</c:if>
  </div>
  <div id="content">
  	<!-- InstanceBeginEditable name="content" -->
	 <br /><br />
	<blockquote>
<table width="55%" border="1" align="center">
<tr>
<td>
    <form method="post" action="/SISMED/ServletSISMED">
		<input type="hidden" name="Comando" value="AlterarSenha">
		<input type="hidden" name="idPessoa" value=<c:out value="${Pessoa.id}"/>>
<table width="55%" border="0" cellpadding="0" cellspacing="2"
	bordercolor="#0033FF">
	<tr bgcolor="#0099CC">
		<td colspan="2">
		<h3 align="center" class="style1">Alterar Senha</h3>
		</td>
	</tr>
	<tr>
		<td>Senha Atual<br>
		<input name="SenhaAtual" type=password size=20 MAXLENGHT=20></td>
		<td><br>		
	</tr>
	<tr>
		<td>Nova Senha<br>
		<input name="Senha1" type=password size=20 MAXLENGHT=20></td>
		<td>Repetir Senha<br>
		<input name="Senha2" type=password size=20 MAXLENGHT=20></td>
	</tr>
	<tr>
		<td></td>
		<td align="right"><input name="BtCadastro" type="Submit" value="Cadastrar"></td>
	</tr>
</table>

		
				   
	</form>
</td>
</tr>
</table>
	</blockquote>
	<br /><br />
    <!-- InstanceEndEditable --> </div>
  <div id="footer">
    <div align="center">:::                         &copy; - 2009 - SISMED :::</div>
  </div>
</div>
</body>
<!-- InstanceEnd --></html>
